package day14;
//本类是用来做异常演示的demo
public class Test01 {
    public static void main(String[] args) {
        int []arr={1,2,3};
        System.out.println(arr[0]);
        System.out.println(arr[1]);
        System.out.println(arr[2]);
        System.out.println(arr[3]);//数组越界   抛出异常  程序停止运行
    }
}
